#pragma once

#define COL 9
#define ROW 9
#define COLS COL+2
#define ROWS ROW+2

void menu();
void play();

void init(char pannel[ROWS][COLS], int rows, int cols, char set);
void display(char pannel[ROWS][COLS], int rows, int cols);
void set_mines(char pannel[ROWS][COLS], int rows, int cols, int num);
char win_lose(char i_pannel[ROWS][COLS], char o_pannel[ROWS][COLS], int rows, int cols,int x ,int y);

void copy(char target[ROWS][COLS], char backup[ROWS][COLS], int rows, int cols);

void message(char i_pannel[ROWS][COLS], char o_pannel[ROWS][COLS], int rows, int cols, int x, int y);
